;;; +company-box.el --- Initialization and mode setting.

;;; Homepage:
;; https://github.com/sebastiencs/company-box

;;; Commentary:
;; Frontend for `company-mode'.

;;; Code:

(use-package company-box
  :ensure
  :if (display-graphic-p)
  :hook
  (company-mode . company-box-mode)
  :init
  (setq company-box-tooltip-minimum-width 0
	company-box-doc-enable nil
	company-box-scrollbar t)
  :config
  (set-face-attribute 'company-box-scrollbar nil
		      :background (face-attribute 'company-tooltip-common :foreground)))

(provide '+company-box)

;;; +company-box.el ends here
